﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WebApi.Models;

namespace WebApi.Controllers
{
    public class UserController : Controller
    {
        [Route("api/user/list")]
        [HttpGet]
        public IActionResult List()
        {
            List<string> ss = new List<string> { "jack", "tom" };
            return Json(ss);
        }
    }
}
